let sendFn;

/**
 * 注册扫描
 * @param {*} cb
 */
export const regSendFn = fn1 => {
  sendFn = fn1;
};

/**
 * 发送客户端消息
 * @param  {...any} args
 */
export const send = (...args) => sendFn(...args);
